using UnityEngine;

namespace DG.Tweening
{
    // [Assembly-CSharp-firstpass.dll].DG.Tweening.DOTweenModuleUnityVersion
    public static class DOTweenModuleUnityVersion
    {
        
        #region DG.Tweening.DOTweenModuleUnityVersion.<>c__DisplayClass8_0
        // [Assembly-CSharp-firstpass.dll].DG.Tweening.DOTweenModuleUnityVersion.<>c__DisplayClass8_0
        private sealed class __c__DisplayClass8_0
        {
            // Fields
            public UnityEngine.Material target;
            public int propertyID;
            
            // Methods
            public __c__DisplayClass8_0()
            {
            
            }
            internal UnityEngine.Vector2 <DOOffset>b__0()
            {
                return this.target.GetTextureOffset(nameID:  this.propertyID);
            }
            internal void <DOOffset>b__1(UnityEngine.Vector2 x)
            {
                this.target.SetTextureOffset(nameID:  this.propertyID, value:  new UnityEngine.Vector2());
            }
        
        }
        
        #endregion
        
        
        #region DG.Tweening.DOTweenModuleUnityVersion.<>c__DisplayClass9_0
        // [Assembly-CSharp-firstpass.dll].DG.Tweening.DOTweenModuleUnityVersion.<>c__DisplayClass9_0
        private sealed class __c__DisplayClass9_0
        {
            // Fields
            public UnityEngine.Material target;
            public int propertyID;
            
            // Methods
            public __c__DisplayClass9_0()
            {
            
            }
            internal UnityEngine.Vector2 <DOTiling>b__0()
            {
                return this.target.GetTextureScale(nameID:  this.propertyID);
            }
            internal void <DOTiling>b__1(UnityEngine.Vector2 x)
            {
                this.target.SetTextureScale(nameID:  this.propertyID, value:  new UnityEngine.Vector2());
            }
        
        }
        
        #endregion
        
        
        #region DG.Tweening.DOTweenModuleUnityVersion.<AsyncWaitForCompletion>d__10
        // [Assembly-CSharp-firstpass.dll].DG.Tweening.DOTweenModuleUnityVersion.<AsyncWaitForCompletion>d__10
        private struct _AsyncWaitForCompletion_d__10 : IAsyncStateMachine
        {
            // Fields
            public int __1__state;
            public System.Runtime.CompilerServices.AsyncTaskMethodBuilder __t__builder;
            public DG.Tweening.Tween t;
            private System.Runtime.CompilerServices.YieldAwaitable.YieldAwaiter __u__1;
            
            // Methods
            private void MoveNext()
            {
                DG.Tweening.Tween val_5;
                if(new DG.Tweening.DOTweenModuleUnityVersion.DG_Tweening_DOTweenModuleUnityVersion__AsyncWaitForCompletion_d__10() == 0)
                {
                    goto label_1;
                }
                
                val_5 = this.t;
                if(val_5 == null)
                {
                        throw new NullReferenceException();
                }
                
                if(this.t._active_k__BackingField == true)
                {
                    goto label_3;
                }
                
                if(mem[536885141] < 1)
                {
                    goto label_14;
                }
                
                DG.Tweening.Core.Debugger.LogInvalidTween(t:  this.t);
                goto label_14;
                label_1:
                this.__u__1 = 0;
                this = 0;
                goto label_7;
                label_15:
                System.Runtime.CompilerServices.YieldAwaitable.System.Runtime.CompilerServices.YieldAwaitable.YieldAwaiter val_2 = System.Threading.Tasks.Task.Yield().GetAwaiter();
                if(val_2.IsCompleted == false)
                {
                    goto label_12;
                }
                
                label_7:
                val_2.GetResult();
                val_5 = this.t;
                label_3:
                if(this.t._active_k__BackingField != false)
                {
                        if((DG.Tweening.TweenExtensions.IsComplete(t:  val_5)) == false)
                {
                    goto label_15;
                }
                
                }
                
                label_14:
                this.__t__builder = 1;
                SetResult();
                return;
                label_12:
                this = 0;
                this.__u__1 = val_2;
                this.__t__builder.AwaitUnsafeOnCompleted<System.Runtime.CompilerServices.YieldAwaitable.System.Runtime.CompilerServices.YieldAwaitable.YieldAwaiter, DG.Tweening.DOTweenModuleUnityVersion.DG_Tweening_DOTweenModuleUnityVersion__AsyncWaitForCompletion_d__10>(awaiter:  new System.Runtime.CompilerServices.YieldAwaitable.System.Runtime.CompilerServices.YieldAwaitable.YieldAwaiter(), stateMachine:  new DG.Tweening.DOTweenModuleUnityVersion.DG_Tweening_DOTweenModuleUnityVersion__AsyncWaitForCompletion_d__10() {__1__state = this, __t__builder = new System.Runtime.CompilerServices.AsyncTaskMethodBuilder() {m_builder = new System.Runtime.CompilerServices.AsyncTaskMethodBuilder<System.Threading.Tasks.VoidTaskResult>() {m_task = new System.Runtime.CompilerServices.AsyncTaskMethodBuilder()}}, __u__1 = new System.Runtime.CompilerServices.YieldAwaitable.System.Runtime.CompilerServices.YieldAwaitable.YieldAwaiter()});
            }
            private void SetStateMachine(System.Runtime.CompilerServices.IAsyncStateMachine stateMachine)
            {
                this.__t__builder.SetStateMachine(stateMachine:  stateMachine);
            }
        
        }
        
        #endregion
        
        
        #region DG.Tweening.DOTweenModuleUnityVersion.<AsyncWaitForRewind>d__11
        // [Assembly-CSharp-firstpass.dll].DG.Tweening.DOTweenModuleUnityVersion.<AsyncWaitForRewind>d__11
        private struct _AsyncWaitForRewind_d__11 : IAsyncStateMachine
        {
            // Fields
            public int __1__state;
            public System.Runtime.CompilerServices.AsyncTaskMethodBuilder __t__builder;
            public DG.Tweening.Tween t;
            private System.Runtime.CompilerServices.YieldAwaitable.YieldAwaiter __u__1;
            
            // Methods
            private void MoveNext()
            {
                DG.Tweening.Tween val_5;
                if(new DG.Tweening.DOTweenModuleUnityVersion.DG_Tweening_DOTweenModuleUnityVersion__AsyncWaitForRewind_d__11() == 0)
                {
                    goto label_1;
                }
                
                val_5 = this.t;
                if(val_5 == null)
                {
                        throw new NullReferenceException();
                }
                
                if(this.t._active_k__BackingField == true)
                {
                    goto label_3;
                }
                
                if(mem[536885141] < 1)
                {
                    goto label_14;
                }
                
                DG.Tweening.Core.Debugger.LogInvalidTween(t:  this.t);
                goto label_14;
                label_1:
                this.__u__1 = 0;
                this = 0;
                goto label_7;
                label_16:
                System.Runtime.CompilerServices.YieldAwaitable.System.Runtime.CompilerServices.YieldAwaitable.YieldAwaiter val_2 = System.Threading.Tasks.Task.Yield().GetAwaiter();
                if(val_2.IsCompleted == false)
                {
                    goto label_12;
                }
                
                label_7:
                val_2.GetResult();
                val_5 = this.t;
                label_3:
                if(this.t._active_k__BackingField == false)
                {
                    goto label_14;
                }
                
                if(this.t._playedOnce_k__BackingField == false)
                {
                    goto label_16;
                }
                
                val_5 = (DG.Tweening.TweenExtensions.CompletedLoops(t:  val_5)) + 1;
                float val_5 = (float)val_5;
                val_5 = this.t._position_k__BackingField * val_5;
                if(val_5 > 0f)
                {
                    goto label_16;
                }
                
                label_14:
                this.__t__builder = 1;
                SetResult();
                return;
                label_12:
                this = 0;
                this.__u__1 = val_2;
                this.__t__builder.AwaitUnsafeOnCompleted<System.Runtime.CompilerServices.YieldAwaitable.System.Runtime.CompilerServices.YieldAwaitable.YieldAwaiter, DG.Tweening.DOTweenModuleUnityVersion.DG_Tweening_DOTweenModuleUnityVersion__AsyncWaitForRewind_d__11>(awaiter:  new System.Runtime.CompilerServices.YieldAwaitable.System.Runtime.CompilerServices.YieldAwaitable.YieldAwaiter(), stateMachine:  new DG.Tweening.DOTweenModuleUnityVersion.DG_Tweening_DOTweenModuleUnityVersion__AsyncWaitForRewind_d__11() {__1__state = this, __t__builder = new System.Runtime.CompilerServices.AsyncTaskMethodBuilder() {m_builder = new System.Runtime.CompilerServices.AsyncTaskMethodBuilder<System.Threading.Tasks.VoidTaskResult>() {m_task = new System.Runtime.CompilerServices.AsyncTaskMethodBuilder()}}, __u__1 = new System.Runtime.CompilerServices.YieldAwaitable.System.Runtime.CompilerServices.YieldAwaitable.YieldAwaiter()});
            }
            private void SetStateMachine(System.Runtime.CompilerServices.IAsyncStateMachine stateMachine)
            {
                this.__t__builder.SetStateMachine(stateMachine:  stateMachine);
            }
        
        }
        
        #endregion
        
        
        #region DG.Tweening.DOTweenModuleUnityVersion.<AsyncWaitForKill>d__12
        // [Assembly-CSharp-firstpass.dll].DG.Tweening.DOTweenModuleUnityVersion.<AsyncWaitForKill>d__12
        private struct _AsyncWaitForKill_d__12 : IAsyncStateMachine
        {
            // Fields
            public int __1__state;
            public System.Runtime.CompilerServices.AsyncTaskMethodBuilder __t__builder;
            public DG.Tweening.Tween t;
            private System.Runtime.CompilerServices.YieldAwaitable.YieldAwaiter __u__1;
            
            // Methods
            private void MoveNext()
            {
                DG.Tweening.Tween val_4;
                if(new DG.Tweening.DOTweenModuleUnityVersion.DG_Tweening_DOTweenModuleUnityVersion__AsyncWaitForKill_d__12() == 0)
                {
                    goto label_1;
                }
                
                val_4 = this.t;
                if(val_4 == null)
                {
                        throw new NullReferenceException();
                }
                
                if(this.t._active_k__BackingField == true)
                {
                    goto label_3;
                }
                
                if(mem[536885141] < 1)
                {
                    goto label_6;
                }
                
                DG.Tweening.Core.Debugger.LogInvalidTween(t:  this.t);
                goto label_6;
                label_1:
                this.__u__1 = 0;
                this = 0;
                goto label_7;
                label_14:
                System.Runtime.CompilerServices.YieldAwaitable.System.Runtime.CompilerServices.YieldAwaitable.YieldAwaiter val_2 = System.Threading.Tasks.Task.Yield().GetAwaiter();
                if(val_2.IsCompleted == false)
                {
                    goto label_12;
                }
                
                label_7:
                val_2.GetResult();
                val_4 = this.t;
                label_3:
                if(this.t._active_k__BackingField == true)
                {
                    goto label_14;
                }
                
                label_6:
                this.__t__builder = 1;
                SetResult();
                return;
                label_12:
                this = 0;
                this.__u__1 = val_2;
                this.__t__builder.AwaitUnsafeOnCompleted<System.Runtime.CompilerServices.YieldAwaitable.System.Runtime.CompilerServices.YieldAwaitable.YieldAwaiter, DG.Tweening.DOTweenModuleUnityVersion.DG_Tweening_DOTweenModuleUnityVersion__AsyncWaitForKill_d__12>(awaiter:  new System.Runtime.CompilerServices.YieldAwaitable.System.Runtime.CompilerServices.YieldAwaitable.YieldAwaiter(), stateMachine:  new DG.Tweening.DOTweenModuleUnityVersion.DG_Tweening_DOTweenModuleUnityVersion__AsyncWaitForKill_d__12() {__1__state = this, __t__builder = new System.Runtime.CompilerServices.AsyncTaskMethodBuilder() {m_builder = new System.Runtime.CompilerServices.AsyncTaskMethodBuilder<System.Threading.Tasks.VoidTaskResult>() {m_task = new System.Runtime.CompilerServices.AsyncTaskMethodBuilder()}}, __u__1 = new System.Runtime.CompilerServices.YieldAwaitable.System.Runtime.CompilerServices.YieldAwaitable.YieldAwaiter()});
            }
            private void SetStateMachine(System.Runtime.CompilerServices.IAsyncStateMachine stateMachine)
            {
                this.__t__builder.SetStateMachine(stateMachine:  stateMachine);
            }
        
        }
        
        #endregion
        
        
        #region DG.Tweening.DOTweenModuleUnityVersion.<AsyncWaitForElapsedLoops>d__13
        // [Assembly-CSharp-firstpass.dll].DG.Tweening.DOTweenModuleUnityVersion.<AsyncWaitForElapsedLoops>d__13
        private struct _AsyncWaitForElapsedLoops_d__13 : IAsyncStateMachine
        {
            // Fields
            public int __1__state;
            public System.Runtime.CompilerServices.AsyncTaskMethodBuilder __t__builder;
            public DG.Tweening.Tween t;
            public int elapsedLoops;
            private System.Runtime.CompilerServices.YieldAwaitable.YieldAwaiter __u__1;
            
            // Methods
            private void MoveNext()
            {
                DG.Tweening.Tween val_5;
                if(new DG.Tweening.DOTweenModuleUnityVersion.DG_Tweening_DOTweenModuleUnityVersion__AsyncWaitForElapsedLoops_d__13() == 0)
                {
                    goto label_1;
                }
                
                val_5 = this.t;
                if(val_5 == null)
                {
                        throw new NullReferenceException();
                }
                
                if(this.t._active_k__BackingField == true)
                {
                    goto label_3;
                }
                
                if(mem[536885141] < 1)
                {
                    goto label_14;
                }
                
                DG.Tweening.Core.Debugger.LogInvalidTween(t:  this.t);
                goto label_14;
                label_1:
                this.__u__1 = 0;
                this = 0;
                goto label_7;
                label_15:
                System.Runtime.CompilerServices.YieldAwaitable.System.Runtime.CompilerServices.YieldAwaitable.YieldAwaiter val_2 = System.Threading.Tasks.Task.Yield().GetAwaiter();
                if(val_2.IsCompleted == false)
                {
                    goto label_12;
                }
                
                label_7:
                val_2.GetResult();
                val_5 = this.t;
                label_3:
                if(this.t._active_k__BackingField != false)
                {
                        if((DG.Tweening.TweenExtensions.CompletedLoops(t:  val_5)) < this.elapsedLoops)
                {
                    goto label_15;
                }
                
                }
                
                label_14:
                this.__t__builder = 1;
                SetResult();
                return;
                label_12:
                this = 0;
                this.__u__1 = val_2;
                this.__t__builder.AwaitUnsafeOnCompleted<System.Runtime.CompilerServices.YieldAwaitable.System.Runtime.CompilerServices.YieldAwaitable.YieldAwaiter, DG.Tweening.DOTweenModuleUnityVersion.DG_Tweening_DOTweenModuleUnityVersion__AsyncWaitForElapsedLoops_d__13>(awaiter:  new System.Runtime.CompilerServices.YieldAwaitable.System.Runtime.CompilerServices.YieldAwaitable.YieldAwaiter(), stateMachine:  new DG.Tweening.DOTweenModuleUnityVersion.DG_Tweening_DOTweenModuleUnityVersion__AsyncWaitForElapsedLoops_d__13() {__1__state = this, __t__builder = new System.Runtime.CompilerServices.AsyncTaskMethodBuilder() {m_builder = new System.Runtime.CompilerServices.AsyncTaskMethodBuilder<System.Threading.Tasks.VoidTaskResult>() {m_task = new System.Runtime.CompilerServices.AsyncTaskMethodBuilder()}}, __u__1 = new System.Runtime.CompilerServices.YieldAwaitable.System.Runtime.CompilerServices.YieldAwaitable.YieldAwaiter()});
            }
            private void SetStateMachine(System.Runtime.CompilerServices.IAsyncStateMachine stateMachine)
            {
                this.__t__builder.SetStateMachine(stateMachine:  stateMachine);
            }
        
        }
        
        #endregion
        
        
        #region DG.Tweening.DOTweenModuleUnityVersion.<AsyncWaitForPosition>d__14
        // [Assembly-CSharp-firstpass.dll].DG.Tweening.DOTweenModuleUnityVersion.<AsyncWaitForPosition>d__14
        private struct _AsyncWaitForPosition_d__14 : IAsyncStateMachine
        {
            // Fields
            public int __1__state;
            public System.Runtime.CompilerServices.AsyncTaskMethodBuilder __t__builder;
            public DG.Tweening.Tween t;
            public float position;
            private System.Runtime.CompilerServices.YieldAwaitable.YieldAwaiter __u__1;
            
            // Methods
            private void MoveNext()
            {
                DG.Tweening.Tween val_5;
                if(new DG.Tweening.DOTweenModuleUnityVersion.DG_Tweening_DOTweenModuleUnityVersion__AsyncWaitForPosition_d__14() == 0)
                {
                    goto label_1;
                }
                
                val_5 = this.t;
                if(val_5 == null)
                {
                        throw new NullReferenceException();
                }
                
                if(this.t._active_k__BackingField == true)
                {
                    goto label_3;
                }
                
                if(mem[536885141] < 1)
                {
                    goto label_14;
                }
                
                DG.Tweening.Core.Debugger.LogInvalidTween(t:  this.t);
                goto label_14;
                label_1:
                this.__u__1 = 0;
                this = 0;
                goto label_7;
                label_15:
                System.Runtime.CompilerServices.YieldAwaitable.System.Runtime.CompilerServices.YieldAwaitable.YieldAwaiter val_2 = System.Threading.Tasks.Task.Yield().GetAwaiter();
                if(val_2.IsCompleted == false)
                {
                    goto label_12;
                }
                
                label_7:
                val_2.GetResult();
                val_5 = this.t;
                label_3:
                if(this.t._active_k__BackingField == false)
                {
                    goto label_14;
                }
                
                val_5 = (DG.Tweening.TweenExtensions.CompletedLoops(t:  val_5)) + 1;
                float val_5 = (float)val_5;
                val_5 = this.t._position_k__BackingField * val_5;
                if(val_5 < 0)
                {
                    goto label_15;
                }
                
                label_14:
                this.__t__builder = 1;
                SetResult();
                return;
                label_12:
                this = 0;
                this.__u__1 = val_2;
                this.__t__builder.AwaitUnsafeOnCompleted<System.Runtime.CompilerServices.YieldAwaitable.System.Runtime.CompilerServices.YieldAwaitable.YieldAwaiter, DG.Tweening.DOTweenModuleUnityVersion.DG_Tweening_DOTweenModuleUnityVersion__AsyncWaitForPosition_d__14>(awaiter:  new System.Runtime.CompilerServices.YieldAwaitable.System.Runtime.CompilerServices.YieldAwaitable.YieldAwaiter(), stateMachine:  new DG.Tweening.DOTweenModuleUnityVersion.DG_Tweening_DOTweenModuleUnityVersion__AsyncWaitForPosition_d__14() {__1__state = this, __t__builder = new System.Runtime.CompilerServices.AsyncTaskMethodBuilder() {m_builder = new System.Runtime.CompilerServices.AsyncTaskMethodBuilder<System.Threading.Tasks.VoidTaskResult>() {m_task = new System.Runtime.CompilerServices.AsyncTaskMethodBuilder()}}, __u__1 = new System.Runtime.CompilerServices.YieldAwaitable.System.Runtime.CompilerServices.YieldAwaitable.YieldAwaiter()});
            }
            private void SetStateMachine(System.Runtime.CompilerServices.IAsyncStateMachine stateMachine)
            {
                this.__t__builder.SetStateMachine(stateMachine:  stateMachine);
            }
        
        }
        
        #endregion
        
        
        #region DG.Tweening.DOTweenModuleUnityVersion.<AsyncWaitForStart>d__15
        // [Assembly-CSharp-firstpass.dll].DG.Tweening.DOTweenModuleUnityVersion.<AsyncWaitForStart>d__15
        private struct _AsyncWaitForStart_d__15 : IAsyncStateMachine
        {
            // Fields
            public int __1__state;
            public System.Runtime.CompilerServices.AsyncTaskMethodBuilder __t__builder;
            public DG.Tweening.Tween t;
            private System.Runtime.CompilerServices.YieldAwaitable.YieldAwaiter __u__1;
            
            // Methods
            private void MoveNext()
            {
                DG.Tweening.Tween val_4;
                if(new DG.Tweening.DOTweenModuleUnityVersion.DG_Tweening_DOTweenModuleUnityVersion__AsyncWaitForStart_d__15() == 0)
                {
                    goto label_1;
                }
                
                val_4 = this.t;
                if(val_4 == null)
                {
                        throw new NullReferenceException();
                }
                
                if(this.t._active_k__BackingField == true)
                {
                    goto label_3;
                }
                
                if(mem[536885141] < 1)
                {
                    goto label_11;
                }
                
                DG.Tweening.Core.Debugger.LogInvalidTween(t:  this.t);
                goto label_11;
                label_1:
                this.__u__1 = 0;
                this = 0;
                goto label_7;
                label_15:
                if(this.t._playedOnce_k__BackingField == true)
                {
                    goto label_11;
                }
                
                System.Runtime.CompilerServices.YieldAwaitable.System.Runtime.CompilerServices.YieldAwaitable.YieldAwaiter val_2 = System.Threading.Tasks.Task.Yield().GetAwaiter();
                if(val_2.IsCompleted == false)
                {
                    goto label_13;
                }
                
                label_7:
                val_2.GetResult();
                val_4 = this.t;
                label_3:
                if(this.t._active_k__BackingField == true)
                {
                    goto label_15;
                }
                
                label_11:
                this.__t__builder = 1;
                SetResult();
                return;
                label_13:
                this = 0;
                this.__u__1 = val_2;
                this.__t__builder.AwaitUnsafeOnCompleted<System.Runtime.CompilerServices.YieldAwaitable.System.Runtime.CompilerServices.YieldAwaitable.YieldAwaiter, DG.Tweening.DOTweenModuleUnityVersion.DG_Tweening_DOTweenModuleUnityVersion__AsyncWaitForStart_d__15>(awaiter:  new System.Runtime.CompilerServices.YieldAwaitable.System.Runtime.CompilerServices.YieldAwaitable.YieldAwaiter(), stateMachine:  new DG.Tweening.DOTweenModuleUnityVersion.DG_Tweening_DOTweenModuleUnityVersion__AsyncWaitForStart_d__15() {__1__state = this, __t__builder = new System.Runtime.CompilerServices.AsyncTaskMethodBuilder() {m_builder = new System.Runtime.CompilerServices.AsyncTaskMethodBuilder<System.Threading.Tasks.VoidTaskResult>() {m_task = new System.Runtime.CompilerServices.AsyncTaskMethodBuilder()}}, __u__1 = new System.Runtime.CompilerServices.YieldAwaitable.System.Runtime.CompilerServices.YieldAwaitable.YieldAwaiter()});
            }
            private void SetStateMachine(System.Runtime.CompilerServices.IAsyncStateMachine stateMachine)
            {
                this.__t__builder.SetStateMachine(stateMachine:  stateMachine);
            }
        
        }
        
        #endregion
        
        // Methods
        public static DG.Tweening.Sequence DOGradientColor(UnityEngine.Material target, UnityEngine.Gradient gradient, float duration)
        {
            var val_14 = 27344528;
            DG.Tweening.Sequence val_1 = DG.Tweening.DOTween.Sequence();
            if(val_2.Length < 1)
            {
                goto label_14;
            }
            
            if(val_2.Length == 1)
            {
                goto label_13;
            }
            
            val_14 = 0;
            label_15:
            if((val_14 == 0) && (null <= 0f))
            {
                    target.color = new UnityEngine.Color() {r = 5.580343E-26f, g = 5.580343E-26f, b = 5.580343E-26f, a = 5.580343E-26f};
            }
            else
            {
                    if((val_2.Length - 1) == val_14)
            {
                    float val_7 = duration - (DG.Tweening.TweenExtensions.Duration(t:  val_1, includeLoops:  false));
            }
            else
            {
                    if(val_14 != 0)
            {
                    if((val_14 - 1) >= val_2.Length)
            {
                goto label_13;
            }
            
            }
            
            }
            
                DG.Tweening.Sequence val_13 = DG.Tweening.TweenSettingsExtensions.Append(s:  val_1, t:  DG.Tweening.TweenSettingsExtensions.SetEase<System.Object>(t:  DG.Tweening.ShortcutExtensions.DOColor(target:  target, endValue:  new UnityEngine.Color() {r = 5.580343E-26f, g = 5.580343E-26f, b = 5.580343E-26f, a = 5.580343E-26f}, duration:  (null - null) * duration), ease:  1));
            }
            
            if(((val_2.Length & 4294967295) - 1) == val_14)
            {
                goto label_14;
            }
            
            val_14 = val_14 + 1;
            if(val_14 < val_2.Length)
            {
                goto label_15;
            }
            
            label_13:
            label_14:
            Unknown val_14 = DG.Tweening.TweenSettingsExtensions.SetTarget<System.Object>(t:  val_1, target:  target);
            return val_1;
        }
        public static DG.Tweening.Sequence DOGradientColor(UnityEngine.Material target, UnityEngine.Gradient gradient, string property, float duration)
        {
            DG.Tweening.Sequence val_1 = DG.Tweening.DOTween.Sequence();
            if(val_2.Length < 1)
            {
                goto label_14;
            }
            
            if(val_2.Length == 1)
            {
                goto label_13;
            }
            
            var val_15 = 0;
            label_15:
            if((val_15 == 0) && (null <= 0f))
            {
                    target.SetColor(name:  property, value:  new UnityEngine.Color() {r = 5.580343E-26f, g = 5.580343E-26f, b = 5.580343E-26f, a = 5.580343E-26f});
            }
            else
            {
                    if((val_2.Length - 1) == val_15)
            {
                    float val_7 = duration - (DG.Tweening.TweenExtensions.Duration(t:  val_1, includeLoops:  false));
            }
            else
            {
                    if(val_15 != 0)
            {
                    if((val_15 - 1) >= val_2.Length)
            {
                goto label_13;
            }
            
            }
            
            }
            
                DG.Tweening.Sequence val_13 = DG.Tweening.TweenSettingsExtensions.Append(s:  val_1, t:  DG.Tweening.TweenSettingsExtensions.SetEase<System.Object>(t:  DG.Tweening.ShortcutExtensions.DOColor(target:  target, endValue:  new UnityEngine.Color() {r = 5.580343E-26f, g = 5.580343E-26f, b = 5.580343E-26f, a = 5.580343E-26f}, property:  property, duration:  (null - null) * duration), ease:  1));
            }
            
            if(((val_2.Length & 4294967295) - 1) == val_15)
            {
                goto label_14;
            }
            
            val_15 = val_15 + 1;
            if(val_15 < val_2.Length)
            {
                goto label_15;
            }
            
            label_13:
            label_14:
            Unknown val_14 = DG.Tweening.TweenSettingsExtensions.SetTarget<System.Object>(t:  val_1, target:  target);
            return val_1;
        }
        public static UnityEngine.CustomYieldInstruction WaitForCompletion(DG.Tweening.Tween t, bool returnCustomYieldInstruction)
        {
            var val_2;
            if(t._active_k__BackingField != false)
            {
                    UnityEngine.CustomYieldInstruction val_1 = 536897991;
                val_2 = val_1;
                val_1 = new UnityEngine.CustomYieldInstruction();
                mem[536898007] = t;
                return (UnityEngine.CustomYieldInstruction)val_2;
            }
            
            if(mem[536885141] >= 1)
            {
                    DG.Tweening.Core.Debugger.LogInvalidTween(t:  t);
            }
            
            val_2 = 0;
            return (UnityEngine.CustomYieldInstruction)val_2;
        }
        public static UnityEngine.CustomYieldInstruction WaitForRewind(DG.Tweening.Tween t, bool returnCustomYieldInstruction)
        {
            var val_2;
            if(t._active_k__BackingField != false)
            {
                    UnityEngine.CustomYieldInstruction val_1 = 536897999;
                val_2 = val_1;
                val_1 = new UnityEngine.CustomYieldInstruction();
                mem[536898015] = t;
                return (UnityEngine.CustomYieldInstruction)val_2;
            }
            
            if(mem[536885141] >= 1)
            {
                    DG.Tweening.Core.Debugger.LogInvalidTween(t:  t);
            }
            
            val_2 = 0;
            return (UnityEngine.CustomYieldInstruction)val_2;
        }
        public static UnityEngine.CustomYieldInstruction WaitForKill(DG.Tweening.Tween t, bool returnCustomYieldInstruction)
        {
            var val_2;
            if(t._active_k__BackingField != false)
            {
                    UnityEngine.CustomYieldInstruction val_1 = 536897995;
                val_2 = val_1;
                val_1 = new UnityEngine.CustomYieldInstruction();
                mem[536898011] = t;
                return (UnityEngine.CustomYieldInstruction)val_2;
            }
            
            if(mem[536885141] >= 1)
            {
                    DG.Tweening.Core.Debugger.LogInvalidTween(t:  t);
            }
            
            val_2 = 0;
            return (UnityEngine.CustomYieldInstruction)val_2;
        }
        public static UnityEngine.CustomYieldInstruction WaitForElapsedLoops(DG.Tweening.Tween t, int elapsedLoops, bool returnCustomYieldInstruction)
        {
            int val_2;
            var val_3;
            val_2 = elapsedLoops;
            if(t._active_k__BackingField != false)
            {
                    UnityEngine.CustomYieldInstruction val_1 = 536897993;
                val_3 = val_1;
                val_1 = new UnityEngine.CustomYieldInstruction();
                mem[536898009] = t;
                mem[536898017] = val_2;
                return (UnityEngine.CustomYieldInstruction)val_3;
            }
            
            if(mem[536885141] >= 1)
            {
                    DG.Tweening.Core.Debugger.LogInvalidTween(t:  t);
            }
            
            val_3 = 0;
            return (UnityEngine.CustomYieldInstruction)val_3;
        }
        public static UnityEngine.CustomYieldInstruction WaitForPosition(DG.Tweening.Tween t, float position, bool returnCustomYieldInstruction)
        {
            var val_2;
            if(t._active_k__BackingField != false)
            {
                    UnityEngine.CustomYieldInstruction val_1 = 536897997;
                val_2 = val_1;
                val_1 = new UnityEngine.CustomYieldInstruction();
                mem[536898013] = t;
                mem[536898021] = position;
                return (UnityEngine.CustomYieldInstruction)val_2;
            }
            
            if(mem[536885141] >= 1)
            {
                    DG.Tweening.Core.Debugger.LogInvalidTween(t:  t);
            }
            
            val_2 = 0;
            return (UnityEngine.CustomYieldInstruction)val_2;
        }
        public static UnityEngine.CustomYieldInstruction WaitForStart(DG.Tweening.Tween t, bool returnCustomYieldInstruction)
        {
            var val_2;
            if(t._active_k__BackingField != false)
            {
                    UnityEngine.CustomYieldInstruction val_1 = 536898001;
                val_2 = val_1;
                val_1 = new UnityEngine.CustomYieldInstruction();
                mem[536898017] = t;
                return (UnityEngine.CustomYieldInstruction)val_2;
            }
            
            if(mem[536885141] >= 1)
            {
                    DG.Tweening.Core.Debugger.LogInvalidTween(t:  t);
            }
            
            val_2 = 0;
            return (UnityEngine.CustomYieldInstruction)val_2;
        }
        public static DG.Tweening.Core.TweenerCore<UnityEngine.Vector2, UnityEngine.Vector2, DG.Tweening.Plugins.Options.VectorOptions> DOOffset(UnityEngine.Material target, UnityEngine.Vector2 endValue, int propertyID, float duration)
        {
            UnityEngine.Material val_7;
            var val_8;
            var val_9;
            val_7 = target;
            object val_1 = 536898151;
            val_1 = new System.Object();
            val_8 = val_1;
            mem[536898167] = val_7;
            mem[536898175] = endValue;
            if((mem[536898167].HasProperty(nameID:  endValue)) != false)
            {
                    DG.Tweening.Core.DOGetter<UnityEngine.Vector2> val_3 = 536873961;
                val_3 = new DG.Tweening.Core.DOGetter<UnityEngine.Vector2>(object:  val_1, method:  1610682399);
                DG.Tweening.Core.DOSetter<UnityEngine.Vector2> val_4 = 536874005;
                val_7 = val_4;
                val_4 = new DG.Tweening.Core.DOSetter<UnityEngine.Vector2>(object:  val_1, method:  1610682401);
                DG.Tweening.Core.TweenerCore<UnityEngine.Vector2, UnityEngine.Vector2, DG.Tweening.Plugins.Options.VectorOptions> val_5 = DG.Tweening.DOTween.To(getter:  val_3, setter:  val_7, endValue:  new UnityEngine.Vector2(), duration:  duration);
                val_9 = val_5;
                Unknown val_6 = DG.Tweening.TweenSettingsExtensions.SetTarget<System.Object>(t:  val_5, target:  mem[536898167]);
                return (DG.Tweening.Core.TweenerCore<UnityEngine.Vector2, UnityEngine.Vector2, DG.Tweening.Plugins.Options.VectorOptions>)val_9;
            }
            
            if(mem[536885141] >= 1)
            {
                    DG.Tweening.Core.Debugger.LogMissingMaterialProperty(propertyId:  mem[536898175]);
            }
            
            val_9 = 0;
            return (DG.Tweening.Core.TweenerCore<UnityEngine.Vector2, UnityEngine.Vector2, DG.Tweening.Plugins.Options.VectorOptions>)val_9;
        }
        public static DG.Tweening.Core.TweenerCore<UnityEngine.Vector2, UnityEngine.Vector2, DG.Tweening.Plugins.Options.VectorOptions> DOTiling(UnityEngine.Material target, UnityEngine.Vector2 endValue, int propertyID, float duration)
        {
            UnityEngine.Material val_7;
            var val_8;
            var val_9;
            val_7 = target;
            object val_1 = 536898153;
            val_1 = new System.Object();
            val_8 = val_1;
            mem[536898169] = val_7;
            mem[536898177] = endValue;
            if((mem[536898169].HasProperty(nameID:  endValue)) != false)
            {
                    DG.Tweening.Core.DOGetter<UnityEngine.Vector2> val_3 = 536873961;
                val_3 = new DG.Tweening.Core.DOGetter<UnityEngine.Vector2>(object:  val_1, method:  1610682405);
                DG.Tweening.Core.DOSetter<UnityEngine.Vector2> val_4 = 536874005;
                val_7 = val_4;
                val_4 = new DG.Tweening.Core.DOSetter<UnityEngine.Vector2>(object:  val_1, method:  1610682407);
                DG.Tweening.Core.TweenerCore<UnityEngine.Vector2, UnityEngine.Vector2, DG.Tweening.Plugins.Options.VectorOptions> val_5 = DG.Tweening.DOTween.To(getter:  val_3, setter:  val_7, endValue:  new UnityEngine.Vector2(), duration:  duration);
                val_9 = val_5;
                Unknown val_6 = DG.Tweening.TweenSettingsExtensions.SetTarget<System.Object>(t:  val_5, target:  mem[536898169]);
                return (DG.Tweening.Core.TweenerCore<UnityEngine.Vector2, UnityEngine.Vector2, DG.Tweening.Plugins.Options.VectorOptions>)val_9;
            }
            
            if(mem[536885141] >= 1)
            {
                    DG.Tweening.Core.Debugger.LogMissingMaterialProperty(propertyId:  mem[536898177]);
            }
            
            val_9 = 0;
            return (DG.Tweening.Core.TweenerCore<UnityEngine.Vector2, UnityEngine.Vector2, DG.Tweening.Plugins.Options.VectorOptions>)val_9;
        }
        public static System.Threading.Tasks.Task AsyncWaitForCompletion(DG.Tweening.Tween t)
        {
            System.Threading.Tasks.Task<Unknown> val_3;
            System.Runtime.CompilerServices.AsyncTaskMethodBuilder val_1 = System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Create();
            val_3.Start<DG.Tweening.DOTweenModuleUnityVersion.DG_Tweening_DOTweenModuleUnityVersion__AsyncWaitForCompletion_d__10>(stateMachine:  new DG.Tweening.DOTweenModuleUnityVersion.DG_Tweening_DOTweenModuleUnityVersion__AsyncWaitForCompletion_d__10() {__t__builder = new System.Runtime.CompilerServices.AsyncTaskMethodBuilder() {m_builder = new System.Runtime.CompilerServices.AsyncTaskMethodBuilder<System.Threading.Tasks.VoidTaskResult>() {m_task = val_3}}, t = val_3, __u__1 = new System.Runtime.CompilerServices.YieldAwaitable.System.Runtime.CompilerServices.YieldAwaitable.YieldAwaiter()});
            return (System.Threading.Tasks.Task)val_3.Task;
        }
        public static System.Threading.Tasks.Task AsyncWaitForRewind(DG.Tweening.Tween t)
        {
            System.Threading.Tasks.Task<Unknown> val_3;
            System.Runtime.CompilerServices.AsyncTaskMethodBuilder val_1 = System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Create();
            val_3.Start<DG.Tweening.DOTweenModuleUnityVersion.DG_Tweening_DOTweenModuleUnityVersion__AsyncWaitForRewind_d__11>(stateMachine:  new DG.Tweening.DOTweenModuleUnityVersion.DG_Tweening_DOTweenModuleUnityVersion__AsyncWaitForRewind_d__11() {__t__builder = new System.Runtime.CompilerServices.AsyncTaskMethodBuilder() {m_builder = new System.Runtime.CompilerServices.AsyncTaskMethodBuilder<System.Threading.Tasks.VoidTaskResult>() {m_task = val_3}}, t = val_3, __u__1 = new System.Runtime.CompilerServices.YieldAwaitable.System.Runtime.CompilerServices.YieldAwaitable.YieldAwaiter()});
            return (System.Threading.Tasks.Task)val_3.Task;
        }
        public static System.Threading.Tasks.Task AsyncWaitForKill(DG.Tweening.Tween t)
        {
            System.Threading.Tasks.Task<Unknown> val_3;
            System.Runtime.CompilerServices.AsyncTaskMethodBuilder val_1 = System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Create();
            val_3.Start<DG.Tweening.DOTweenModuleUnityVersion.DG_Tweening_DOTweenModuleUnityVersion__AsyncWaitForKill_d__12>(stateMachine:  new DG.Tweening.DOTweenModuleUnityVersion.DG_Tweening_DOTweenModuleUnityVersion__AsyncWaitForKill_d__12() {__t__builder = new System.Runtime.CompilerServices.AsyncTaskMethodBuilder() {m_builder = new System.Runtime.CompilerServices.AsyncTaskMethodBuilder<System.Threading.Tasks.VoidTaskResult>() {m_task = val_3}}, t = val_3, __u__1 = new System.Runtime.CompilerServices.YieldAwaitable.System.Runtime.CompilerServices.YieldAwaitable.YieldAwaiter()});
            return (System.Threading.Tasks.Task)val_3.Task;
        }
        public static System.Threading.Tasks.Task AsyncWaitForElapsedLoops(DG.Tweening.Tween t, int elapsedLoops)
        {
            int val_2;
            System.Threading.Tasks.Task<Unknown> val_3;
            System.Runtime.CompilerServices.AsyncTaskMethodBuilder val_1 = System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Create();
            val_3.Start<DG.Tweening.DOTweenModuleUnityVersion.DG_Tweening_DOTweenModuleUnityVersion__AsyncWaitForElapsedLoops_d__13>(stateMachine:  new DG.Tweening.DOTweenModuleUnityVersion.DG_Tweening_DOTweenModuleUnityVersion__AsyncWaitForElapsedLoops_d__13() {__t__builder = new System.Runtime.CompilerServices.AsyncTaskMethodBuilder() {m_builder = new System.Runtime.CompilerServices.AsyncTaskMethodBuilder<System.Threading.Tasks.VoidTaskResult>() {m_task = val_3}}, t = val_3, elapsedLoops = val_2, __u__1 = new System.Runtime.CompilerServices.YieldAwaitable.System.Runtime.CompilerServices.YieldAwaitable.YieldAwaiter()});
            return (System.Threading.Tasks.Task)val_3.Task;
        }
        public static System.Threading.Tasks.Task AsyncWaitForPosition(DG.Tweening.Tween t, float position)
        {
            float val_2;
            System.Threading.Tasks.Task<Unknown> val_3;
            System.Runtime.CompilerServices.AsyncTaskMethodBuilder val_1 = System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Create();
            val_3.Start<DG.Tweening.DOTweenModuleUnityVersion.DG_Tweening_DOTweenModuleUnityVersion__AsyncWaitForPosition_d__14>(stateMachine:  new DG.Tweening.DOTweenModuleUnityVersion.DG_Tweening_DOTweenModuleUnityVersion__AsyncWaitForPosition_d__14() {__t__builder = new System.Runtime.CompilerServices.AsyncTaskMethodBuilder() {m_builder = new System.Runtime.CompilerServices.AsyncTaskMethodBuilder<System.Threading.Tasks.VoidTaskResult>() {m_task = val_3}}, t = val_3, position = val_2, __u__1 = new System.Runtime.CompilerServices.YieldAwaitable.System.Runtime.CompilerServices.YieldAwaitable.YieldAwaiter()});
            return (System.Threading.Tasks.Task)val_3.Task;
        }
        public static System.Threading.Tasks.Task AsyncWaitForStart(DG.Tweening.Tween t)
        {
            System.Threading.Tasks.Task<Unknown> val_3;
            System.Runtime.CompilerServices.AsyncTaskMethodBuilder val_1 = System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Create();
            val_3.Start<DG.Tweening.DOTweenModuleUnityVersion.DG_Tweening_DOTweenModuleUnityVersion__AsyncWaitForStart_d__15>(stateMachine:  new DG.Tweening.DOTweenModuleUnityVersion.DG_Tweening_DOTweenModuleUnityVersion__AsyncWaitForStart_d__15() {__t__builder = new System.Runtime.CompilerServices.AsyncTaskMethodBuilder() {m_builder = new System.Runtime.CompilerServices.AsyncTaskMethodBuilder<System.Threading.Tasks.VoidTaskResult>() {m_task = val_3}}, t = val_3, __u__1 = new System.Runtime.CompilerServices.YieldAwaitable.System.Runtime.CompilerServices.YieldAwaitable.YieldAwaiter()});
            return (System.Threading.Tasks.Task)val_3.Task;
        }
    
    }

}
